package one.stand.mapper;

import one.stand.model.UserLoginWx;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserLoginWxMapperExt extends UserLoginWxMapper {
    List<UserLoginWx> selectList(@Param("userId") Integer userId, @Param("clientType") Integer clientType);

    UserLoginWx select(@Param("userId") Integer userId, @Param("companyKey") String companyKey, @Param("clientType") Integer clientType);

    UserLoginWx selectByOpenId(@Param("clientType") Integer accountType, @Param("companyKey") String companyKey, @Param("openId") String openId);

    void deleteByUserId(@Param("userId") Integer userId);
}